package com.guochenglang.www.pojo;

import com.guochenglang.www.pojo.annotate.Table;

/**
 * 评论消息提醒表
 *
 * @author GuoChenglang
 */
@Table("comment_message")
public class CommentMessage {
    /**
     * 主键
     */
    private Integer id;
    /**
     * 评论id
     */
    private Integer commentId;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 是否已读
     */
    private Integer isRead;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIsRead() {
        return isRead;
    }

    public void setIsRead(Integer isRead) {
        this.isRead = isRead;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public CommentMessage(Integer id, Integer isRead, Integer userId, Integer commentId) {
        this.id = id;
        this.isRead = isRead;
        this.userId = userId;
        this.commentId = commentId;
    }

    public CommentMessage() {
    }
}
